<?
session_start();

include ("../usersystem/config/conf.php");
include ("../usersystem/lib/mysqlClass.php");
include ("../function/function.php");
include ("../function/global.php");
include ("loginCheck.php");
//session_destroy();
$id=$userArray['remember'];

if($id==1)
{
	echo "<script language='javascript'>top.location.href='/';</script>";
	session_destroy();
exit;
}
else
{
	setcookie("userArrayCookie","",time()-100,"/");
	session_destroy();
	echo "<script language='javascript'>top.location.href='/';</script>";
exit;

}



?>
